/**
 * Handle changed data.
 *
 * @param {Object} oldValue old value
 * @param {Object} newValue new value
 * @param {JSEvent} event the event that triggered the action
 *
 * @returns {Boolean}
 *
 * @properties={typeid:24,uuid:"B60D8065-D4B8-46EB-89FE-2C627C69084D"}
 */
function onDataChange_importe(oldValue, newValue, event) 
{ // sirve cuando se cambia el importe
	globals.gtotal_varios=0
	for ( var i = 1 ; i <= controller.getMaxRecordIndex(); i++ )
	{
		controller.setSelectedIndex(i);
		globals.gtotal_varios+=importe;
	}
	return true
}
